package com.yunhe.bean;

import java.text.SimpleDateFormat;
import java.util.Date;

//用户表
public class UserTier {
private int userId; //用户ID
private String userName;  //用户账号
private String realName; //姓名
private String passWord;  //密码
private String gender;  //性别
private Date brithDate; //生日
private String idNumber; //身份证号
private String eMail; //邮箱
private String phoneNumber; //手机号
private String address;//地址
private int userRole=0; //用户角色
private int accountavailable=0;//用户是否能使用

public int getAccountavailable() {
	return accountavailable;
}
public void setAccountavailable(int accountavailable) {
	this.accountavailable = accountavailable;
}
public int getUserId() {
	return userId;
}
public void setUserId(int userId) {
	this.userId = userId;
}
public String getUserName() {
	return userName;
}
public void setUserName(String userName) {
	this.userName = userName;
}
public String getRealName() {
	return realName;
}
public void setRealName(String realName) {
	this.realName = realName;
}
public String getPassWord() {
	return passWord;
}
public void setPassWord(String passWord) {
	this.passWord = passWord;
}
public String getGender() {
	return gender;
}
public void setGender(String gender) {
	this.gender = gender;
}
public Date getBrithDate() {
	return brithDate;
}
public void setBrithDate(Date brithDate) {
	this.brithDate = brithDate;
}
public String getIdNumber() {
	return idNumber;
}
public void setIdNumber(String idNumber) {
	this.idNumber = idNumber;
}
public String geteMail() {
	return eMail;
}
public void seteMail(String eMail) {
	this.eMail = eMail;
}
public String getPhoneNumber() {
	return phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
	this.phoneNumber = phoneNumber;
}
public String getAddress() {
	return address;
}
public void setAddress(String address) {
	this.address = address;
}
public int getUserRole() {
	return userRole;
}
public void setUserRole(int userRole) {
	this.userRole = userRole;
}

@Override
public String toString() {
	return "UserTier [userId=" + userId + ", userName=" + userName + ", realName=" + realName + ", passWord=" + passWord
			+ ", gender=" + gender + ", brithDate=" + brithDate + ", idNumber=" + idNumber + ", eMail=" + eMail
			+ ", phoneNumber=" + phoneNumber + ", address=" + address + ", userRole=" + userRole + "]";
}




}
